package com.jsb.laundry.dao;

import com.jsb.laundry.model.dto.ActivityModuleDto;
import com.jsb.laundry.model.dto.CategoryDto;
import com.jsb.laundry.model.entity.Banner;
import com.jsb.laundry.model.v1.LaundryActivityVo;
import com.jsb.laundry.model.v1.LaundryCategory;
import com.jsb.laundry.model.vo.LaundryCategoryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 首页
 */
@Repository
public interface LaundryIndexDao {

    List<Banner> getBanner();

    List<CategoryDto> findCateAndMinPrice();


    List<ActivityModuleDto> getLaundryActivity(@Param("cateId") String laundryActivityId,@Param("list") List<String> activityIdList);

    List<LaundryCategory> findCate1();

    List<LaundryActivityVo> getLaundryActivity1(String laundryActivityId);

    List<LaundryActivityVo> getLaundryHotActivity();

}
